package com.lemon.core.mybatis.plugins.pagination;

/**
 * @author lemon
 * @ClassName Page
 * @desc Page重封装
 * @Date 2018/9/3 21:32
 * @Version 1.0
 **/
public class Page<T> extends com.baomidou.mybatisplus.extension.plugins.pagination.Page<T> {

    private long pageNum;

    private long pageSize;

    public Page() {
        /* 注意，传入翻页参数 */
    }

    public Page(int pageNum, int pageSize) {
        super(pageNum, pageSize);
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public long getPageNum() {
        return pageNum;
    }

    public void setPageNum(long pageNum) {
        this.pageNum = pageNum;
    }

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }
}
